package com.manor.im.event;

import com.tencent.imsdk.TIMMessageStatus;

/**
 * 用户消息
 * Created by cxf on 2018/10/24.
 */
public class ImUserMsgEvent {

    private String uid;
    private String lastMessage;
    private int unReadCount;
    private String lastTime;
    private boolean needTip;
    private TIMMessageStatus msgStatus;
    private boolean isSelf;

    public boolean isSelf() {
        return isSelf;
    }

    public void setSelf(boolean self) {
        isSelf = self;
    }

    public TIMMessageStatus getMsgStatus() {
        return msgStatus;
    }

    public void setMsgStatus(TIMMessageStatus msgStatus) {
        this.msgStatus = msgStatus;
    }

    public boolean isNeedTip() {
        return needTip;
    }

    public void setNeedTip(boolean needTip) {
        this.needTip = needTip;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getLastMessage() {
        return lastMessage;
    }

    public void setLastMessage(String lastMessage) {
        this.lastMessage = lastMessage;
    }

    public int getUnReadCount() {
        return unReadCount;
    }

    public void setUnReadCount(int unReadCount) {
        this.unReadCount = unReadCount;
    }

    public String getLastTime() {
        return lastTime;
    }

    public void setLastTime(String lastTime) {
        this.lastTime = lastTime;
    }

    @Override
    public String toString() {
        return "ImUserMsgEvent{" +
                "uid='" + uid + '\'' +
                ", lastMessage='" + lastMessage + '\'' +
                ", unReadCount=" + unReadCount +
                ", lastTime='" + lastTime + '\'' +
                ", needTip=" + needTip +
                ", msgStatus=" + msgStatus +
                '}';
    }
}
